// SET_TRUE: ALLOW_TRAILING_COMMA
// REGISTRY: kotlin.formatter.allowTrailingCommaOnCallSite true
// AFTER-WARNING: Parameter 'p1' is never used
// AFTER-WARNING: Parameter 'p2' is never used
// AFTER-WARNING: Parameter 'p3' is never used

fun f() {
    foo(<caret>1, "a", 2)
}

fun foo(p1: Int, p2: String, p3: Int){}